package com.study.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.study.constant.Constant;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Range;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

@Data
@ToString
@Accessors(chain = true)
public class Log implements Serializable {
    private static final long serialVersionUID = 2546117911577990064L;

    private Constant.DirectConstant.logLevel logLevel;

    @NotNull
    private String content;
}